<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 字符串类型
        let str = '我是字符串';
        console.log(str);
        let str1 = '10';//虽然是10，但是有单引号，所以他是字符串
        console.log(str1);
        // 字符串拼接
        let str3 = '我是' + '字符串';
        console.log(str3);
        console.log(typeof str);
        console.log(typeof str1);
        console.log(typeof str3);
    </script>
</body>
</html>